package com.ym.medical.dao;

import com.ym.medical.domain.entity.PrivateDoctorRuleEntity;
import com.ym.medical.domain.vo.PrivateDoctorRuleVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * ComputerName:LAPTOP-I6GKDIFQ
 * Author:admin
 * Date: 2019-05-16
 * Time: 11:16:18
 */
@Repository
public interface PrivateDoctorRuleDao extends Mapper<PrivateDoctorRuleEntity> {
    List<PrivateDoctorRuleVo> selectPrivateDoctorRule(@Param("userId") Long userId);

    List<PrivateDoctorRuleVo> selectAllPrivateDoctorRule(@Param("userId") Long doctorId);
}